package com.egao.common.module.cooperative.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.egao.common.core.web.PageParam;
import com.egao.common.module.cooperative.entity.CooperativeProject;
import com.egao.common.module.cooperative.entity.vo.CooperativeProjectListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * mapper
 * @author root
 */
public interface CooperativeProjectMapper extends BaseMapper<CooperativeProject> {

    /**
     * 查询项目集合
     * @param page
     * @return
     */
    List<CooperativeProjectListVO> listPage(@Param("page")PageParam<CooperativeProject> page);

    List<CooperativeProjectListVO> listPagePublicity(@Param("page")PageParam<CooperativeProject> page);
}
